home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / dpkg / info / gnome-session.postinst < prev    next >
Encoding:
Text File  |  2009-04-08  |  1.1 KB  |  32 lines

  1. #!/bin/sh
  2.  
  3. set -e
  4.  
  5. if [ "$1" = configure ]; then
  6.   update-alternatives --install /usr/bin/x-session-manager \
  7.     x-session-manager /usr/bin/gnome-session 50 \
  8.     --slave /usr/share/man/man1/x-session-manager.1.gz \
  9.     x-session-manager.1.gz /usr/share/man/man1/gnome-session.1.gz
  10.   update-alternatives --install /usr/share/images/desktop-base/desktop-splash \
  11.     desktop-splash /usr/share/pixmaps/splash/gnome-splash.png 10
  12.   update-alternatives --install /usr/share/images/desktop-base/desktop-splash \
  13.     desktop-splash /usr/share/pixmaps/splash/gnome-debian-splash.png 10
  14. fi
  15.  
  16. # Automatically added by dh_gconf
  17. if [ "$1" = "configure" ] && which update-gconf-defaults >/dev/null 2>&1; then
  18.     update-gconf-defaults
  19. fi
  20. # End automatically added section
  21. # Automatically added by dh_gconf
  22. if [ "$1" = "configure" ]; then
  23.     gconf-schemas --register gnome-session.schemas 
  24. fi
  25. # End automatically added section
  26. # Automatically added by dh_icons
  27. if which update-icon-caches >/dev/null 2>&1 ; then
  28.     update-icon-caches /usr/share/icons/hicolor
  29. fi
  30. # End automatically added section
  31.  
  32.